import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import VueRouter from 'vue-router'
// 使用
Vue.use(VueRouter)
import index from './components/index.vue'
import ceshi from './components/ceshi.vue'
import play from './components/play.vue'
import login from './components/login.vue'
import zhibo from './components/zhibo.vue'

const router = new VueRouter({
        routes: [{
                path: "/",
                component: index
            },
            {
                path: "/index",
                component: index
            },
            {
                path: "/play",
                component: play
            },

            {
                path: "/login",
                component: login
            },
            {
                path: "/zhibo",
                component: zhibo
            },
        ]
    })
    //导入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
    //使用播放器
import VideoPlayer from 'vue-video-player'
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'
Vue.use(VideoPlayer)


// 插件验证
import SlideVerify from 'vue-monoplasty-slide-verify';

Vue.use(SlideVerify);


new Vue({
    render: h => h(App),
    router
}).$mount('#app')